package com.attendance.www.hr.service;

import java.util.List;

import com.attendance.www.hr.beans.YearFurloughBean;

public interface IYearFurloughService {
	
	/**
	 * 增加年假可使用时间
	 * @param yearFurloughBean
	 * @return
	 */
	public boolean saveYearFurlough(YearFurloughBean yearFurloughBean);
	
	/**
	 * 删除年假可使用时间
	 * @param yearFurloughBean
	 * @return
	 */
	public boolean deleteYearFurlough(String yearFurloughIdStr);
	
	/**
	 * 修改年假可使用时间
	 * @param yearFurloughBean
	 * @return
	 */
	public boolean updateYearFurlough(YearFurloughBean yearFurloughBean);
	
	/**
	 * 查询年假可使用时间
	 * @return
	 */
	public List<YearFurloughBean> getYearFurloughList();
	
	/**
	 * 验证该时间是否可用去年年假
	 * @param year
	 * @param month
	 * @return
	 */
	public boolean getCheckYearFurlough(String yearStr, String monthStr);

}
